import 'package:json_annotation/json_annotation.dart';

part 'video_title_bean.g.dart';

@JsonSerializable()
class VideoTitleBean {
  String subjectName;
  int subject;

  VideoTitleBean({this.subjectName, this.subject});

  VideoTitleBean.fromJson(Map<String, dynamic> json) {
    this.subjectName = json['subjectName'];
    this.subject = json['subject'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['subjectName'] = this.subjectName;
    data['subject'] = this.subject;
    return data;
  }
}
